package com.quwan.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import java.util.Date;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
*
*
* @author quan
* @date 2021-07-31 10:31
*/
 

@Data
@Accessors(chain = true)
@TableName(value = "t_vip_rule")
public class TVipRule {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 售价
     */
    @ApiModelProperty("价格")
    @TableField(value = "price")
    private BigDecimal price;


    /**
     * 原价
     */
    @ApiModelProperty("原价")
    @TableField(value = "origin_price")
    private BigDecimal originPrice;

    /**
     * 描述
     */
    @ApiModelProperty("描述")
    @TableField(value = "remarks")
    private String remarks;

    /**
     * 月/季/年
     */
    @ApiModelProperty("vip时长描述")
    @TableField(value = "unit")
    private String unit;

    /**
     * 单位月
     */
    @TableField(value = "time")
    private Integer time;

    @TableField(value = "status")
    private Integer status;

    @TableField(value = "add_time")
    private Date addTime;
}